<?php
/*
 * Created on Apr 30, 2012
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
require_once("dao/DAOFactory.php");
require_once("bizlayer/IBiz.php");
require_once("model/Photo.php");
 
 class PhotoMgmt implements IBiz{
 	static $dao;
 	public static function initializeDao(){
 		self::$dao = DAOFactory::getDAO("photo");
 	}
 	
 	
 	
 	public static function getItem($photoId){
 		self::initializeDao();
 		return self::$dao->getItem($photoId);
 	}
 	
 	public static function deletePhotos($photoIdList){
 		self::initializeDao();
 		return self::$dao->deleteItem($photoIdList);
 	}
 }
?>
